<!DOCTYPE html>
<body>
    <script type="module">
        import v from "./malformed.css" assert { type: "css" };
        document.adoptedStyleSheets = [v];
    </script>

    <div id="test">
        I am a test div.
    </div>
</body>